-- GENERATED SPELL FOR [Deserter Lieutenant] --


function spell0_23637(pUnit, Event) --@Shield Bash,n/a--
pUnit:FullCastSpellOnTarget(11972,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23637', 8324, 1)
end

function Sorts_23637(pUnit, Event)
local choix_sorts_23637 = math.random(0, 0)
if choix_sorts_23637 == 0 then
pUnit:RegisterEvent('spell0_23637', 1, 1)
end
end

function mob23637_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23637', math.random(1500, 3000), 1)
end

function mob23637_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23637_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23637_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23637, 1, 'mob23637_Action')
RegisterUnitEvent(23637, 2, 'mob23637_Leave')
RegisterUnitEvent(23637, 3, 'mob23637_Kill')
RegisterUnitEvent(23637, 4, 'mob23637_Die')
